import axios from '@/libs/request/axios'

/**
 * 获取放款申请合同信息
 * @param params
 */
export const getLoanOrderInfo = (params) => {
    return axios.request({
        url: "/apply/contractMng/getMngLoanOrderInfo",
        method: "POST",
        data: params,

    })
}
/**
 * 保存撤回原因
 * @param params
 * @returns {*}
 */
export const saveBack = (params) => {
    return axios.request({
        url: '/apply/contractMng/saveBack',
        method: 'POST',
        params: params,
    })
}
/**
 * 保存取消操作记录
 * @param params
 * @returns {*}
 */
export const saveCancel = (params) => {
    return axios.request({
        url: '/apply/loan/saveCancel',
        method: 'POST',
        data: params,
    })
}
export const getSpecialInfo = (params) => {
    return axios.request({
        url: '/apply/special/getSpecialInfo',
        method: 'POST',
        data: params,
    })
}
/**
 * 转单
 * @param params
 * @returns {*}
 */
export const transferData = (params) => {
    return axios.request({
        url: '/apply/contract/transferData',
        method: 'POST',
        data: params,
    })
}
export const searchOprInfoForAssertChange = (params) => {
    return axios.request({
        url: '/apply/contract/searchForAssertChange',
        method: "POST",
        data: params,
    });
}
